<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="scripts/jquery/jquery-1.7.1.js"></script>
<link href="../style/authority/basic_layout.css" rel="stylesheet" type="text/css">
<link href="../style/authority/common_style.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="../scripts/authority/commonAll.js"></script>
<script type="text/javascript" src="../scripts/fancybox/jquery.fancybox-1.3.4.js"></script>
<script type="text/javascript" src="../scripts/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<link rel="stylesheet" type="text/css" href="style/authority/jquery.fancybox-1.3.4.css" media="screen"></link>
<script type="text/javascript" src="../scripts/artDialog/artDialog.js?skin=default"></script>
<script type="text/javascript" src="../scripts/Myscripts/alpha_add.js"></script>
<title>信息管理系统</title>
<style>
	.alt td{ background:black !important;}
</style>
</head>
<body>
<div id = "add_alpha_id">
	<form id="submitForm" name="submitForm" action="" method="post">
		<div id="container">
			<div class="ui_content">
				<div class="ui_text_indent">
					<div id="box_border">
						<div id="box_bottom">
							<input type="button" value="查询所有" class="ui_input_btn01"
							onclick="javascript:document.submitForm.action='Receiptservlet_query';document.submitForm.submit()"/>
						</div>
					</div>
				</div>
			</div>
			<div class="ui_content">
				<div class="ui_tb">
					<table class="table" cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
						<tr>
							<th>回执号</th>
							<th>任务号</th>
							<th>分站号</th>
							<th>任务类型</th>
							<th>送货地址</th>
							<th>送货员</th>
							<th>商品名</th>
							<th>商品数量</th>
							<th>商品价格</th>
							<th>回执状态</th>
						</tr>
						<tr>
							<th colspan="10">备注与评价</th>
						</tr>
							<c:if test="${arr!=null}">
								<c:forEach items="${arr}" var="tp">
								<tr>
									<td>${tp.receipt_id }</td>
									<td>${tp.mission_id }</td>
									<td>${tp.substation_id }</td>
									<td>${tp.mission_type }</td>
									<td>${tp.address }</td>
									<td>${tp.user_name }</td>
									<td>${tp.product_name }</td>
									<td>${tp.product_number }</td>
									<td>${tp.product_price }</td>
									<td>${tp.receipt_state }</td>
								</tr>
								<tr>
									<td colspan="10">${tp.tips }</td>
								</tr>
								</c:forEach>
							</c:if>
					</table>
				</div>
			</div>
		</div>
	</form>
</div>
<script type="text/javascript">
    var eitem = document.getElementById("add_alpha_id");
    window.onload = add_alpha(eitem);
</script>
</body>
</html>
